<?php

namespace App\Http\Controllers;

use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use DB;
class MsgController extends BaseController
{
   public function Index(){
       return "msgIndex";
   }

   public  function Create(){
        return "xxxxx";
   }

   public function Page($page=1){
       return var_dump(DB::table('us ers')->insert(['name'=>'houpe']));
   }
   public function Insert(){
       return var_dump(DB::table('users')->insert(['name'=>'houpe']));
   }
}
